<%- include('./layouts/head', { pageConf }) %>

  <div id="app">

    <%- include('./templates/common/header', { fieldData, phoneData }) %>

    <%- include('./templates/index/carousel', { swiperData }) %>

    <%- include('./templates/index/board_title', { title: '手机上新' }) %>

    <%- include('./templates/common/show_board', {
      phoneData: phoneData.filter(item => item.new == 1)
    }) %>

    <%- include('./templates/index/board_title', { title: '超值手机' }) %>

    <%- include('./templates/common/show_board', {
      phoneData: phoneData.filter(item => item.most_value == 1)
    }) %>

    <%- include('./templates/index/board_title', { title: '官方推荐' }) %>

    <%- include('./templates/common/show_board', {
      phoneData: phoneData.filter(item => item.recom == 1)
    }) %>

    <%- include('./templates/common/footer') %>

  </div>

  <%- include('./datas/data', { 
    domId: 'J_fieldData',
    data: fieldData
  }) %>

  <%- include('./datas/data', { 
    domId: 'J_swiperData',
    data: swiperData 
  }) %>
  
  <%- include('./datas/data', {
    domId: 'J_phoneData',
    data: phoneData 
  }) %>

<%- include('./layouts/foot', { pageConf }) %>